﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GLImp;
using System.Drawing;

namespace CastleOfTheDisillusioned {
	class TextParticle : Particle {
		public string Text;

		public TextParticle(double X, double Y, string Text) {
			this.X = X;
			this.Y = Y;
			this.Color = Color.White;
			this.Width = 0;
			this.Height = 0;

			VSpeed = 0;
			HSpeed = 0;
			Lifespan = 60;

			this.Text = Text;
		}

		public override void Draw() {
			GraphicsManager.SetColor(Color);
			GraphicsManager.DrawString(X, Y, Text, 1/16.0);
		}
	}
}
